package com.easy.service;

import com.easy.bean.Product;
import com.easy.util.Page;

import java.util.List;

public interface ProductService {

    Product add(Product product);

    int del(Integer id);

    Product edit(Product product);

    List<Product> all(Product product);

    Product one(Integer id);

    void page(Page page, Product product);

}
